﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000833 RID: 2099
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetSpringRecoverDataScRsp : IMessage<GetSpringRecoverDataScRsp>, IMessage, IEquatable<GetSpringRecoverDataScRsp>, IDeepCloneable<GetSpringRecoverDataScRsp>, IBufferMessage
	{
		// Token: 0x17001A99 RID: 6809
		// (get) Token: 0x06005E19 RID: 24089 RVA: 0x000FBA1F File Offset: 0x000F9C1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetSpringRecoverDataScRsp> Parser
		{
			get
			{
				return GetSpringRecoverDataScRsp._parser;
			}
		}

		// Token: 0x17001A9A RID: 6810
		// (get) Token: 0x06005E1A RID: 24090 RVA: 0x000FBA26 File Offset: 0x000F9C26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetSpringRecoverDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001A9B RID: 6811
		// (get) Token: 0x06005E1B RID: 24091 RVA: 0x000FBA38 File Offset: 0x000F9C38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetSpringRecoverDataScRsp.Descriptor;
			}
		}

		// Token: 0x06005E1C RID: 24092 RVA: 0x000FBA3F File Offset: 0x000F9C3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSpringRecoverDataScRsp()
		{
		}

		// Token: 0x06005E1D RID: 24093 RVA: 0x000FBA48 File Offset: 0x000F9C48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSpringRecoverDataScRsp(GetSpringRecoverDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.springRecoverConfig_ = ((other.springRecoverConfig_ != null) ? other.springRecoverConfig_.Clone() : null);
			this.healPoolInfo_ = ((other.healPoolInfo_ != null) ? other.healPoolInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005E1E RID: 24094 RVA: 0x000FBAB0 File Offset: 0x000F9CB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSpringRecoverDataScRsp Clone()
		{
			return new GetSpringRecoverDataScRsp(this);
		}

		// Token: 0x17001A9C RID: 6812
		// (get) Token: 0x06005E1F RID: 24095 RVA: 0x000FBAB8 File Offset: 0x000F9CB8
		// (set) Token: 0x06005E20 RID: 24096 RVA: 0x000FBAC0 File Offset: 0x000F9CC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001A9D RID: 6813
		// (get) Token: 0x06005E21 RID: 24097 RVA: 0x000FBAC9 File Offset: 0x000F9CC9
		// (set) Token: 0x06005E22 RID: 24098 RVA: 0x000FBAD1 File Offset: 0x000F9CD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRecoverConfig SpringRecoverConfig
		{
			get
			{
				return this.springRecoverConfig_;
			}
			set
			{
				this.springRecoverConfig_ = value;
			}
		}

		// Token: 0x17001A9E RID: 6814
		// (get) Token: 0x06005E23 RID: 24099 RVA: 0x000FBADA File Offset: 0x000F9CDA
		// (set) Token: 0x06005E24 RID: 24100 RVA: 0x000FBAE2 File Offset: 0x000F9CE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HealPoolInfo HealPoolInfo
		{
			get
			{
				return this.healPoolInfo_;
			}
			set
			{
				this.healPoolInfo_ = value;
			}
		}

		// Token: 0x06005E25 RID: 24101 RVA: 0x000FBAEB File Offset: 0x000F9CEB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetSpringRecoverDataScRsp);
		}

		// Token: 0x06005E26 RID: 24102 RVA: 0x000FBAFC File Offset: 0x000F9CFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetSpringRecoverDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.SpringRecoverConfig, other.SpringRecoverConfig) && object.Equals(this.HealPoolInfo, other.HealPoolInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005E27 RID: 24103 RVA: 0x000FBB60 File Offset: 0x000F9D60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.springRecoverConfig_ != null)
			{
				num ^= this.SpringRecoverConfig.GetHashCode();
			}
			if (this.healPoolInfo_ != null)
			{
				num ^= this.HealPoolInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005E28 RID: 24104 RVA: 0x000FBBCB File Offset: 0x000F9DCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005E29 RID: 24105 RVA: 0x000FBBD3 File Offset: 0x000F9DD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005E2A RID: 24106 RVA: 0x000FBBDC File Offset: 0x000F9DDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.springRecoverConfig_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.SpringRecoverConfig);
			}
			if (this.healPoolInfo_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.HealPoolInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005E2B RID: 24107 RVA: 0x000FBC54 File Offset: 0x000F9E54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.springRecoverConfig_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.SpringRecoverConfig);
			}
			if (this.healPoolInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HealPoolInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005E2C RID: 24108 RVA: 0x000FBCC4 File Offset: 0x000F9EC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetSpringRecoverDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.springRecoverConfig_ != null)
			{
				if (this.springRecoverConfig_ == null)
				{
					this.SpringRecoverConfig = new SpringRecoverConfig();
				}
				this.SpringRecoverConfig.MergeFrom(other.SpringRecoverConfig);
			}
			if (other.healPoolInfo_ != null)
			{
				if (this.healPoolInfo_ == null)
				{
					this.HealPoolInfo = new HealPoolInfo();
				}
				this.HealPoolInfo.MergeFrom(other.HealPoolInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005E2D RID: 24109 RVA: 0x000FBD58 File Offset: 0x000F9F58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005E2E RID: 24110 RVA: 0x000FBD64 File Offset: 0x000F9F64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					if (num != 66U)
					{
						if (num != 72U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						if (this.healPoolInfo_ == null)
						{
							this.HealPoolInfo = new HealPoolInfo();
						}
						input.ReadMessage(this.HealPoolInfo);
					}
				}
				else
				{
					if (this.springRecoverConfig_ == null)
					{
						this.SpringRecoverConfig = new SpringRecoverConfig();
					}
					input.ReadMessage(this.SpringRecoverConfig);
				}
			}
		}

		// Token: 0x04002449 RID: 9289
		private static readonly MessageParser<GetSpringRecoverDataScRsp> _parser = new MessageParser<GetSpringRecoverDataScRsp>(() => new GetSpringRecoverDataScRsp());

		// Token: 0x0400244A RID: 9290
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400244B RID: 9291
		public const int RetcodeFieldNumber = 9;

		// Token: 0x0400244C RID: 9292
		private uint retcode_;

		// Token: 0x0400244D RID: 9293
		public const int SpringRecoverConfigFieldNumber = 4;

		// Token: 0x0400244E RID: 9294
		private SpringRecoverConfig springRecoverConfig_;

		// Token: 0x0400244F RID: 9295
		public const int HealPoolInfoFieldNumber = 8;

		// Token: 0x04002450 RID: 9296
		private HealPoolInfo healPoolInfo_;
	}
}
